﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.Collections.Generic;

[Serializable]
public class Manifest
{
    [OptionalField]
    public List<Group> GroupList = new List<Group>();
}

[Serializable]
public class Group
{
    [XmlAttribute()]
    [OptionalField]
    public string ID;

    [XmlAttribute()]
    [OptionalField]
    public string DisplayText;

    [XmlAttribute()]
    [OptionalField]
    public string Url;

    [OptionalField]
    public List<SubMenu> SubMenuList = new List<SubMenu>();
}

[Serializable]
public class SubMenu
{
    [XmlAttribute()]
    [OptionalField]
    public string DisPlayText;

    [XmlAttribute()]
    [OptionalField]
    public string Url;
}
